f=open("text.txt",mode="r",encoding="UTF-8")
with open("text.txt",mode="r",encoding="UTF-8") as f:
   res=f.read()
   print(res.count("Python"))